<?php
defined('_XR_EXEC') or die();
/**
 +------------------------------------------------------------------------------
 * session信息配置文件
 +------------------------------------------------------------------------------
 */
class session_config{

/**
 * Session name.
 */
public $sessionname = 'thepungpungssid';
/**
 * 存放sessionID的COOKIE过期时间，以秒为单位。当值为0的，则为会话期间。
 * A value of 0 will keep the session active until the browser is closed (with a limit of 24h).
 */
public $expiration = 0;

/**
 * 多久进行一次GC
 */
public $gc_maxlifetime = 86400;

/**
 * GC的概率分子
 */
public $gc_probability = 1;

/**
 * GC的概率分母
 */
public $gc_divisor = 100000;
/**
 * Domain, to restrict the cookie to a specific website domain. For security,
 * you are encouraged to set this option. An empty setting allows the cookie
 * to be read by any website domain.
 */
public $cookie_domain = '';
/**
 * Restrict cookies to a specific path, typically the installation directory.
 */
public $cookie_path = '/';


/**
 * Enable this option to only allow the cookie to be read when using the a
 * secure protocol.
 */
public $cookie_secure = FALSE;
/**
 * Enable this option to disable the cookie from being accessed when using a
 * secure protocol. This option is only available in PHP 5.2 and above.
 */
public $cookie_httponly = FALSE;

}
?>